package model

import (
	"github.com/topfreegames/pitaya/fairy/pojo"
	"github.com/topfreegames/pitaya/fairy/protos"
)

type PlayerObject struct {
	PlayerGuid int
	PlayerData *pojo.PlayerData
	MMissionList *MissionDataList
	MaAttrBackup *PlayerAttrBackup
	DropItemList *DropItemList
	Bag *PlayerBag
	TreasureBag *PlayerTreasureBag
	RideList *RideList
	MFabao *Fabao
	WingList *WingList
	MAuctionList *PlayerAuctionList
	MTitleData *TitleData
	MWeddingData *WeddingData
	GangFightBetMap map[int64][]*BetData
	MBattleState int
	PStateTime *NowTimer
	RegTimer *NowTimer
	MDisconnectTimer *NowTimer
	WaitConnectByOffline bool
	MBFirstLoginGame bool
	OnLineWin bool
	MPKMode int
	LastPKMode int
	NPlayerSceneStatus int
	NPlayerSportStatus int
	MGameState int
	MLogicStata *BitFlagSet
	RefPlayerAttrTimer *NowTimer
	BeginKickTimer *NowTimer
	SelfRanks *PlayerRank
	Robots map[int64]*protos.MsgRankData
	EnemyID int
	MatchId int
	IsMirror4Enemy bool
	EnemyData *protos.MsgRankData
	WuKuiMatchId int
	NUpdateFiveMinute int
	GangContribution int
	GangMaxContribution int
	GangName string
	GangJob int
	GangCamp int
	GangGiftCount int
	GangSkillList []int
	BWatingCreateGang bool
	GangWefareDayTime int64
	NextTickSecond int64
	NextTickMinute int64
	NextHourTime int64
	NextDayTime int64
	EnAllTimes int
	JoyoAllTimes int
	SucEn bool
	ChatTick []int64
	BChatInCD []bool
	VipData *PlayerVipData
	CombatPower int
	BCombatPowerModify bool
	BActivityCheck bool
	BChargeActivityCheck bool
	BServenDataActCheck bool
	GmAuthorityLevel int
	LastHp int
	LastMp int
	DieTime int
	PlayerPkHitBackList *PlayerPkHitBackList
	TeamInfo *protos.MsgTeamInfo
	PreInvitedPlayerGuid int64
	FollowIds []int
	FollowId int
	FollowTimer *NowTimer
	JdqxInvateType int
	TeanInfoJieYi *protos.MsgTeamInfo
	JieYiCacheName string
	JieYiAgree []int
	TeamInfoMarriage *protos.MsgTeamInfo
	MActivityData *ActivityData
	MChargetActivityData *ActivityData
	MSevenActData *ActivityData
	MTimecutData *ActivityData
	MFashionListData *FashionListData
	TickForMusicState int
	FriendIntimacyTime map[int64]int64
	FriendIntimacyIncForTeam map[int64]int
	BNewPlayerGuiding bool
	GangDonateCount int
	GangCircleTime int64
	GangCircleMissionId string
	GangTreePoint int
	GangTreePray int
	GangTreeTime int
	GangTreePouring bool
	GangBaseInfoList []*protos.MsgGangBaseInfo
	GatherList []GatherInfo
	LanMap map[int]*protos.MsgRankData
	TempLanMap map[int]*protos.MsgRankData
	PveLastAskTime int64
	LastWorldChatMsgStr string
	FlagId int
	NUpdatePerSeconds int
	QmlwBuffTick int
}

func (p *PlayerObject) GetLogoutTime() int64 {
	return p.PlayerData.LogoutTime
}
